package com.uls.zsw.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 电表信息对象 zsw_meter_info
 * 
 * @author zsw
 * @date 2024-11-18
 */
public class MeterInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 电表编号 */
    private Long meterId;

    /** 电表型号 */
    @Excel(name = "电表型号")
    private String meterModel;

    /** 平均功率(单位:KW) */
    @Excel(name = "平均功率(单位:KW)")
    private BigDecimal meterPower;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Integer deleteFlag;

    private String picture;

    public void setMeterId(Long meterId)
    {
        this.meterId = meterId;
    }

    public Long getMeterId()
    {
        return meterId;
    }
    public void setMeterModel(String meterModel) 
    {
        this.meterModel = meterModel;
    }

    public String getMeterModel() 
    {
        return meterModel;
    }
    public void setMeterPower(BigDecimal meterPower) 
    {
        this.meterPower = meterPower;
    }

    public BigDecimal getMeterPower() 
    {
        return meterPower;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("meterId", getMeterId())
            .append("meterModel", getMeterModel())
            .append("meterPower", getMeterPower())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
